package com.forekonw.demotest1102wan01;

public class Test {
    public static void main(String[] args) {
        UseCompute useCompute = new UseCompute();
        Compute compute = new Jia();
        useCompute.useCom(compute,5,4);
        compute = new Jian();
        useCompute.useCom(compute,5,4);
        compute = new Cheng();
        useCompute.useCom(compute,5,4);
        compute = new Chu();
        useCompute.useCom(compute,5,4);
    }
}
